/<template>
  <main id="main">
    <Nav @toggleCpn='toggleCpn'/>
    <Section @toggleCpn='toggleCpn'/>
  </main>
</template>

<script>
import Nav from './Nav.vue'
import Section from './Section.vue'

export default {
  //事件总线，实现Nav 和 Section 传递切换 组件名值
  var Event = new Vue({})
  components: {
    Nav,
    Section
  },
}
</script>

<style>

</style>